home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / misc / math / MathFX_src.lha / fxline.c < prev    next >
C/C++ Source or Header  |  1995-12-20  |  255b  |  14 lines

  1. #include "mathfx.h"
  2.  
  3. void fxline(n,x,y)
  4. int n;
  5. float x[],y[];
  6. {
  7.       int i,level;
  8.       glev(&level);
  9.       if (level<3) fatal("Please set up window before calling FXLINE.");
  10.       movwor(x[0],y[0]);
  11.       for(i=0; i<n; i++)
  12.         drawor(x[i],y[i]);
  13. }
  14.